package com.liner.animal;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog1 = new Dog("小黄", 9, "加菲色");
        Dog dog2 = new Dog("旺财", 15, "米白色");
        Dog dog3 = new Dog("大黄", 18, "黑色");
        Fish fish1 = new Fish("小花", 4, "红色");
        Fish fish2 = new Fish("大兵", 15, "浅蓝色");
        Chick chick1 = new Chick("小虚", 13,"蓝色");
        Chick chick2 = new Chick("小菜", 1, "绿色");
        Chick chick3 = new Chick("小鲲", 12, "粉色");

        dog1.drink();
        dog2.eat();
        dog3.lookHome();

        fish1.eat();
        fish2.drink();

        chick1.eat();
        chick2.layEggs();
        chick3.eat();







    }
}
